<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<s:layout-definition>
<!DOCTYPE html>
<html>
<head>
  <title><fmt:message key="${title}" /></title>

  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/gfx/styles.css" />
  <link rel="shortcut icon" href="${pageContext.request.contextPath}/gfx/images/favicon.png" type="image/png" />

  <script src="${pageContext.request.contextPath}/js/jquery/jquery.js"></script>

  <s:layout-component name="header"/>
</head>
<body>

	<div class="wrapper">

		<header id="header">

			<s:link href="/" id="logo"><fmt:message key="${title}" /></s:link>
			

			<nav id="main-menu" role="navigation">
			 <ul>
			   <li><s:link href="/index.jsp"><fmt:message key="mainPage" /></s:link></li>
			   <li><s:link href="/players/all"><fmt:message key="players" /></s:link></li>
			   <li><s:link href="/teams.jsp"><fmt:message key="teams" /></s:link></li>
			   <li><s:link href="/agecategories.jsp"><fmt:message key="ageCategories" /></s:link></li>
			   <li><s:link href="/rosters.jsp"><fmt:message key="rosters" /></s:link></li>
			 </ul>
		   </nav>
		</header>

		<div id="content">
		   <s:layout-component name="body"/>
		</div>

	</div>

</body>
</html>
</s:layout-definition>